'use strict'
const target = process.env.npm_lifecycle_event;
var obj;
//测试
if(target == 'test'){
  obj = {
    NODE_ENV: '"production"',
    API_ROOT:'"http://hearttest.csyaoly.cn"',
    Upload_Files:'"http://hearttest.csyaoly.cn/UploadFiles/"'
  }
}else if(target == 'build'){//正式
  obj = {
    NODE_ENV: '"production"',
    API_ROOT: '"https://heart.csbr.cn"',//接口api
    Upload_Files:'"https://heart.csbr.cn/UploadFiles/"'//图片url
  }
}
module.exports = obj
